/*
 *  app 导航栏上面的placeholder的内容
 */
var SearschSQL = {
	// 插入一条数据
	insert:'INSERT INTO search(search_content,search_date) VALUES(?,NOW());SELECT * FROM search', 
	// 获取所有的数据
	queryAll:'SELECT * FROM search', 
	// 获取最新的一条数据
	getSearchContent:'SELECT * FROM search where search_id=(SELECT max(search_id) from search)', 
	// 根据search_id删除数据
	deleteOne: 'SELECT * FROM search where search_id = ?;DELETE FROM search where search_id = ?; SELECT * FROM search',
};
 module.exports = SearschSQL;